import {ColumnsUtil} from "@/utils";


export const POSTER_COLUMNS = [
    ColumnsUtil.normalColumn("海报标题", "title", 250),
    ColumnsUtil.normalColumn("海报宽度", "width", 90, 'center'),
    ColumnsUtil.normalColumn("海报高度", "height", 90, 'center'),
    ColumnsUtil.normalColumn("海报地址", "httpUrl", 0),
    ColumnsUtil.normalColumn("生成次数", "makeCount", 90, 'center'),
    ColumnsUtil.actionColumn(120, true, "right", "right")
]


export const LINK_COLUMNS = [
    ColumnsUtil.imageColumn('链接图标', 'thumb', true, 90, 60, 60),
    ColumnsUtil.normalColumn("链接标题", "title", 150),
    ColumnsUtil.normalColumn("链接描述", "description", 0,'left'),
    ColumnsUtil.normalColumn("链接地址", "url", 200),
    ColumnsUtil.normalColumn("备注", "remark", 200),
    ColumnsUtil.actionColumn(120,)
]

export const PROFILE_COLUMNS = [
    ColumnsUtil.normalColumn('图标ID', 'icon', 120,  "center"),
    ColumnsUtil.normalColumn('礼包编码', 'code', 150, "center"),
    ColumnsUtil.normalColumn('礼包名称', 'name', 200, "left"),
    ColumnsUtil.normalColumn('礼包售价', 'price', 100, "center"),
    ColumnsUtil.tagColumn('礼包类型', 'kind', 100, true,"center"),
    ColumnsUtil.normalColumn('数量/立减', 'quantity', 100, "center"),
    ColumnsUtil.normalColumn('礼包介绍', 'description', 0),
    ColumnsUtil.actionColumn(120, true, "right", "right")
]
export const PROFILE_COLUMNS_LOGS = [
    // ColumnsUtil.normalColumn('图标ID', 'icon', 120,  "center"),
    ColumnsUtil.normalColumn('礼包编码', 'code', 150, "center"),
    ColumnsUtil.normalColumn('礼包名称', 'name', 200, "left"),
    ColumnsUtil.normalColumn('兑换人', 'member.nickName', 130, "center"),
    ColumnsUtil.normalColumn('手机号', 'member.phoneNumber', 130, "center"),
    ColumnsUtil.tagColumn('礼包类型', 'kind', 100, true,"center"),
    ColumnsUtil.normalColumn('数量/立减', 'quantity', 100, "center"),
    ColumnsUtil.normalColumn('兑换时间', 'createTime', 200, "center"),
    ColumnsUtil.normalColumn('礼包介绍', 'description', 0),
]
